package com.todod.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.todod.dto.AuthorityDto;
import com.todod.model.Authority;

@Mapper
public interface AuthorityMapper extends BaseMapper<Authority> {
	public void editData(Authority authority);

	List<AuthorityDto> getAuthorityListByRoleId(@Param("roleId") Long roleId);
}
